package fun.sssdnsy.mybatis;

import java.util.List;

/**
 * @Desc SQl会话
 * @Author pengzh
 * @Since 2023-03-01
 */
public interface SqlSession {

    <T> T selectOne(String statement);

    <T> T selectOne(String statement, Object parameter);

    <T> List<T> selectList(String statement);

    <T> List<T> selectList(String statement, Object parameter);

    void close();

}
